package com.budong.api;

import com.budong.common.ApiResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by jianweilin on 2017/1/14.
 */
@RestController
@RequestMapping(value = "/v1",produces = "application/json")
public class RobotController {

    @RequestMapping(value = "/alive",method = RequestMethod.GET)
    public ApiResponse<String> alive(){
        return ApiResponse.success("alive");
    }
}
